package com.leonzx.base.config.file;

import com.leonzx.base.service.file.FileUploadService;
import com.leonzx.base.service.file.OSSFileUploadService;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author:梁亮
 * @Description:
 * @Date: 2018/7/12 13:51
 */
@Configuration
public class FileConfig {

    @Bean
    public FileUploadService fileUploadService() {
        return new OSSFileUploadService();
    }
}
